package io.noties.markwon.span

import android.text.style.URLSpan
import android.view.View

class URLSpanWithListener(link: String, private val listener: UrlClickListener?): URLSpan(link) {
    /*override fun onClick(widget: View?) {
        listener?.invoke(url)
    }*/
}

typealias UrlClickListener = ((String) -> Unit)
